package happy.diandiankong.api.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Title.
 * <p>
 * Description.
 *
 * @author Bill Lv {@literal <billcc.lv@hotmail.com>}
 * @version 1.0
 * @since 2016-10-29
 */
public class Pictures implements Serializable {
    Long id;
    String name;
    Integer width;
    Integer height;
    String uri;
    String storeName;
    Date ts;

    public Pictures() {
    }

    public Pictures(Long id, String name, Integer width, Integer height, String uri, String storeName, Date ts) {
        this.id = id;
        this.name = name;
        this.width = width;
        this.height = height;
        this.uri = uri;
        this.storeName = storeName;
        this.ts = ts;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    @Override
    public String toString() {
        return "Pictures{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", width=" + width +
                ", height=" + height +
                ", uri='" + uri + '\'' +
                ", storeName='" + storeName + '\'' +
                ", ts=" + ts +
                '}';
    }
}
